/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */

package Entity;

import java.util.ArrayList;
import java.util.List;

/**
 *
 * @author federicosanchi
 */
public class AddressBook {
    private List list;
    
    public AddressBook(){
        this.list = new ArrayList();
    }
    
    public void insertPhoneNumber(double PhoneNumber){
        list.add(PhoneNumber);
    }
    
    public double getPhoneNumberAtIndex(int index){
        return (double) list.get(index);
    }
    
    public List getPhoneNumberList(){
        return list;
    }
}
